<template>
    <div>
        <div class="crumbs">
            <el-breadcrumb separator="/">
                <el-breadcrumb-item><i class="el-icon-lx-calendar"></i>财务管理</el-breadcrumb-item>
                <el-breadcrumb-item>挖矿管理</el-breadcrumb-item>
            </el-breadcrumb>
        </div>

		<div class="container">
			<el-tabs v-model="activeName" type="card">
				<el-tab-pane label="挖矿列表" name="list">
					<investList v-if="activeName=='list'"></investList>
				</el-tab-pane>
				<el-tab-pane label="挖矿明细" name="detail">
					<investOrder v-if="activeName=='detail'"></investOrder>
				</el-tab-pane>
			</el-tabs>
		</div>
	</div>
</template>

<script type="text/javascript">
	import investList from '@/page/finance/invest_list';
	import investOrder from '@/page/finance/invest_order';
	export default{
		components:{investList,investOrder},
		data() {
			return {
				activeName: 'list',
			}
		},
		created() {
		},

		methods: {
            operateSuc() {
                this.activeName = 'list';
            }
		}
	}
</script>

<style>
</style>
